/*
========================================================================
 Name        : WeatherForecastContainerView.h
 Author      : Song Yupeng
 Copyright   : Your copyright notice
 Description : 
========================================================================
*/
#ifndef WEATHERFORECASTCONTAINERVIEW_H
#define WEATHERFORECASTCONTAINERVIEW_H

#include <aknview.h>

class CWeatherForecastContainer;

/**
 * Avkon view class for WeatherForecastContainerView. It is register with the view server
 * by the AppUi. It owns the container control.
 * @class	CWeatherForecastContainerView WeatherForecastContainerView.h
 */						
			
class CWeatherForecastContainerView : public CAknView
	{
public:
	// constructors and destructor
	CWeatherForecastContainerView();
	static CWeatherForecastContainerView* NewL();
	static CWeatherForecastContainerView* NewLC();        
	void ConstructL();
	virtual ~CWeatherForecastContainerView();
						
	// from base class CAknView
	TUid Id() const;
	void HandleCommandL( TInt aCommand );
	
	CWeatherForecastContainer* CreateContainerL();
	
protected:
	// from base class CAknView
	void DoActivateL(
		const TVwsViewId& aPrevViewId,
		TUid aCustomMessageId,
		const TDesC8& aCustomMessage );
	void DoDeactivate();
	void HandleStatusPaneSizeChange();
	
private:
	void SetupStatusPaneL();
	void CleanupStatusPane();
	
	CWeatherForecastContainer* iWeatherForecastContainer;

	};

#endif // WEATHERFORECASTCONTAINERVIEW_H
